package com.sslab.vehiclemgmt.repository;

import com.sslab.vehiclemgmt.entity.RepairOrder;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface RepairOrderRepository extends JpaRepository<RepairOrder, Long> {
    List<RepairOrder> findByVehicleId(Long vehicleId);
    List<RepairOrder> findByTechnicianId(Long technicianId); // 若已添加 technician 字段
}
